﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BasicInformation.Domain
{
    /// <summary>
    /// 供应商管理（Supplier）			
    /// </summary>
    public class SupplierModel : BaseEntity
    {
        /// <summary>
        /// 供应商Id（主键唯一标识）
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int SupplierId { get; set; }
        /// <summary>
        /// 供应商编号(自动生产)
        /// </summary>
        public string SupplierCode { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SupplierName { get; set; }
        /// <summary>
        /// 供应商类型Id
        /// </summary>
        public int STyprId { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string SupplierTel { get; set; }
        /// <summary>
        /// 传真
        /// </summary>
        public string Fax { get; set; }
        /// <summary>
        /// 电子邮件
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string SupplierContact { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string SupplierAddr {  get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string? SupplierRemark { get; set; }
    }
}
